const three = this.pageObj.getApiWidgetByAliasName('三维组件');
const type = this.pageObj.getApiWidgetByAliasName('type_selection');
const select = type.widgetObj.getChecked()?.value;

console.log('+++++++++++++++  生命周期-数据设置后 ++++++++++++++++++++++++++++++++')
console.log(this, artemis)
console.log('+++++++++++++++  生命周期-数据设置后 ++++++++++++++++++++++++++++++++')

const artemis = three?.widgetObj.artemis;
if (artemis) {
    var dataSourceSelect;
    const { dataSource } = this.widgetObj?._option;
    if (select === 'all') {
        dataSourceSelect = artemis.resetUsersStatus(dataSource);
    } else {
        dataSourceSelect = artemis.filterUsersOnline(dataSource);
    }

    const datas = artemis.widgetObj?.resetUsersStatus(dataSource)
    console.log('上线人员列表', datas);

    this.widgetObj._option.dataSource = dataSourceSelect;
    this.widgetObj.render();
    console.log(res, dataSourceSelect)

    // this.widgetObj?._option.dataSource = datas
    // this.widgetObj?.render();
}










